package com.bdqn.appjob.dao.backend;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bdqn.appjob.entity.AppInfo;

public interface BackAppInfoMapper {
	//查询总数
	public Integer getCount(@Param("softwareName") String softwareName,
                            @Param("flatformId") Integer flatformId,
                            @Param("categoryLevel1") Integer categoryLevel1,
                            @Param("categoryLevel2") Integer categoryLevel2,
                            @Param("categoryLevel3") Integer categoryLevel3);
	
	//分页显示数据
	public List<AppInfo> getAllList(@Param("softwareName") String softwareName,
                                    @Param("flatformId") Integer flatformId,
                                    @Param("categoryLevel1") Integer categoryLevel1,
                                    @Param("categoryLevel2") Integer categoryLevel2,
                                    @Param("categoryLevel3") Integer categoryLevel3,
                                    @Param("pageIndex") Integer pageIndex,
                                    @Param("pageSize") Integer pageSize);	//软件名称所属平台一级二级三级
	
	//根据id查看
	public AppInfo getListId(@Param("id") Integer id);
	
	//修改审核
	public Integer updStatus(@Param("status") Integer status, @Param("id") Integer id);

}
